//
//  BankInfoModel.m
//  JinFuThree
//
//  Created by 爱尚 on 2018/10/11.
//  Copyright © 2018年 毛韶谦. All rights reserved.
//

#import "BankInfoModel.h"

@implementation BankInfoModel

- (void)setValue:(id)value forKey:(NSString *)key{
    if ([key isEqualToString:@"background"]) {
        self.background = [NSString stringWithFormat:@"%@",value];
    }else if ([key isEqualToString:@"bankCardnumber"]){
        self.bankCardnumber = [NSString stringWithFormat:@"%@",value];
    }else if ([key isEqualToString:@"bankName"]){
        self.bankName = [NSString stringWithFormat:@"%@",value];
    }else if ([key isEqualToString:@"id"]){
        self.bankId = [NSString stringWithFormat:@"%@",value];
    }else if ([key isEqualToString:@"inUse"]){
        self.inUse = [NSString stringWithFormat:@"%@",value];
    }else if ([key isEqualToString:@"isDefault"]){
        self.isDefault = [NSString stringWithFormat:@"%@",value];
    }else if ([key isEqualToString:@"limit"]){
        self.limit = [NSString stringWithFormat:@"%@",value];
    }else if ([key isEqualToString:@"logo"]){
        self.logo = [NSString stringWithFormat:@"%@",value];
    }else if ([key isEqualToString:@"dayLimit"]){
        self.dayLimit = [NSString stringWithFormat:@"%@",value];
    }
}

@end
